﻿using System;
using System.ComponentModel.Composition;
using System.Windows.Controls;
using System.Windows.Interactivity;
using DiagramDesigner.Common.Controls;
using DiagramDesigner.Common.Interfaces;

namespace Behavior.Drag
{
    [Export(typeof(IBehaviorPlugin))]
    public class DragBehaviorPlugin : IBehaviorPlugin
    {
        public string PluginName { get { return "Drag Behavior Plugin"; } }
        public string ToolboxTitle { get { return "Drag"; } }

        public Behavior<DesignerItem> GetBehaviour()
        {
            return new DragBehavior();
        }

        public bool AutoAttachOnDrop { get { return true; } }
        public bool ShowInToobox { get { return false; } }
        public Image Icon { get { return null; } }
        public Type BehaviorType { get { return typeof (DragBehavior); } }


    }
}
